<%@page import="java.sql.DriverManager"%>
<%@page import="java.sql.CallableStatement"%>
<%@page import="java.sql.Connection"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <title>Cancelar Passagem</title>
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <meta name="description" content="Site de LPBD">
        <meta name="author" content="Daniel Lucas">
        <!-- Le styles -->
        <link href="resources/css/bootstrap.css" rel="stylesheet">
        <link href="resources/css/bootstrap-responsive.css" rel="stylesheet">
        <link href="resources/css/datepicker.css" rel="stylesheet">
        <!-- Le HTML5 shim, for IE6-8 support of HTML5 elements -->
        <!--[if lt IE 9]>
          <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!-- Le fav and touch icons -->
    </head>
    <body>       
        <div class="navbar navbar-fixed-top">
            <div class="navbar-inner">
                <div class="container-fluid">
                    <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                        <span class="icon-bar"></span>
                    </a>
                    <a class="brand" href="#"> VoeFácil 1.0</a>

                    <div class="nav-collapse">
                        <ul class="nav">
                            <li><a href="index.jsp">Home</a></li>
                            <li><a href="empresa.jsp">Quem Somos</a></li>
                            <li><a href="">Cancelar Passagem</a></li>
                            <li><a href="contato.jsp">Contato</a></li>
                            <li><a href="Criadores.jsp">Desenvolvedores</a></li>
                        </ul>
                    </div><!--/.nav-collapse -->
                </div>
            </div>
        </div>

        <div class="container-fluid">
            <div class="row">
                <div class="span3">
                    <div class="well sidebar-nav">
                        <ul class="nav nav-list">
                            <li class="nav-header">__________________</li>
                            <li class="nav-header">Menu</li>
                            <li><a href="index.jsp">Home</a></li>
                            <li><a href="empresa.jsp">Quem Somos</a></li>
                            <li><a href="">Cancelar Passagem</a></li>
                            <li><a href="contato.jsp">Contato</a></li>
                        </ul>
                    </div><!--/.well -->
                </div><!--/span-->

                <div class="container">
                    <div class="row">
                        <div class="span8">        
                            <form name="form1" class="form-horizontal" id="registerHere" method='get' action='cancelado.jsp' onSubmit="return verificacao3()">
                                <fieldset class="well" style="width: 500px;background-color: azure">
                                    <legend><b style="padding-top: 10px">Cancelar Passagem</b></legend>                               
                                    <div class="control-group">
                                        <label class="control-label" for="cpf">CPF do Comprador</label>
                                        <div class="controls">
                                            <input type="text" class="input-xlarge" id="cpf" name="cpf" rel="popover" data-content="Digite o número do seu CPF." data-original-title="CPF" placeholder="cpf do comprador..." onblur="ValidarCPF(form1.cpf)" maxlength="14" onkeypress="MascaraCPF(form1.cpf)">
                                        </div><br>
                                        <label class="control-label" for="id">Código da Passagem</label>
                                        <div class="controls">
                                            <input type="text" class="input-xlarge" id="id" name="id" rel="popover" data-content="Digite o código de sua passagem." data-original-title="id" placeholder="código da passagem..." maxlength="3">
                                        </div>
                                        <dir>
                                            <center><button type="submit" class="btn btn-danger" onclick="confirma">Cancelar</button> </center></dir>
                                    </div>        
                                </fieldset>
                            </form>                            
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- </div><!--/row-->
        <!--</div><!--/span-->
        <!--</div><!--/row-->
        <hr>
    <footer>
        <div class="container">
            <p>&copy; VoeFacil</p>
        </div>
    </footer>
    <!--</div><!--/.fluid-container-->

    <!-- Le javascript
    ================================================== -->
    <!-- Placed at the end of the document so the pages load faster -->
    <script src="resources/javascript/jquery.js"></script>
    <script src="resources/javascript/bootstrap-transition.js"></script>
    <script src="resources/javascript/bootstrap-alert.js"></script>
    <script src="resources/javascript/bootstrap-modal.js"></script>
    <script src="resources/javascript/bootstrap-dropdown.js"></script>
    <script src="resources/javascript/bootstrap-scrollspy.js"></script>
    <script src="resources/javascript/bootstrap-datepicker.js"></script>
    <script src="resources/javascript/bootstrap-tab.js"></script>
    <script src="resources/javascript/bootstrap-tooltip.js"></script>
    <script src="resources/javascript/MascaraValidacao.js"></script>
    <script src="resources/javascript/bootstrap-popover.js"></script>
    <script type="text/javascript" src="http://jzaefferer.github.com/jquery-validation/jquery.validate.js"></script>
</body>
</html>
